package com.swxy.club.dto.dt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "修改社团成员角色DTO")
public class UpdateMemberRoleDTO {

    @ApiModelProperty(value = "社团ID", required = true)
    @NotNull(message = "社团ID不能为空")
    private Long clubId;

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @ApiModelProperty(value = "新角色编码(ROLE_MEMBER, ROLE_VICE_PRESIDENT等)", required = true)
    @NotNull(message = "角色编码不能为空")
    private String newRoleCode;
}
